package com.navi.loaddata.core.oracleEntity;

import com.navi.loaddata.core.oracleEntity.array.EtlArrayStepV;
import com.navi.loaddata.core.oracleEntity.cell1.EtlCellComponentV;
import com.navi.loaddata.core.oracleEntity.cell1.EtlCellStepV;
import com.navi.loaddata.core.oracleEntity.cell2.EtlCell2ChipV;
import com.navi.loaddata.core.oracleEntity.cell2.EtlCell2StepV;
import com.navi.loaddata.core.oracleEntity.cf.EtlCfStepV;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by Jay on 2018/3/27.
 */

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EtlStepVMapper {

    EtlStepVMapper INSTANCE = Mappers.getMapper(EtlStepVMapper.class);

    EtlArrayStepV etlStepToArray(EtlStepV stepVMapper);
    List<EtlArrayStepV> etlStepToArray(List<EtlStepV> list);


    EtlCfStepV etlStepToCf(EtlStepV stepVMapper);
    List<EtlCfStepV> etlStepToCf(List<EtlStepV> list);

    EtlCellStepV etlStepToCell1(EtlStepV stepVMapper);
    List<EtlCellStepV> etlStepToCell1(List<EtlStepV> list);


    EtlCell2StepV etlStepToCell2(EtlStepV stepVMapper);
    List<EtlCell2StepV> etlStepToCell2(List<EtlStepV> list);

}
